﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SmartVault.Core
{
    /// <summary>
    /// Public Error Codes
    /// </summary>
    public static class ErrorCodes
    {
        /// <summary>
        /// Object Not Found
        /// </summary>
        public const int ObjectNotFound = unchecked((int)0xe100000cU);

        /// <summary>
        /// Access Denied
        /// </summary>
        public const int AccessDenied = unchecked((int)0xa1000001U);

        /// <summary>
        /// Object Already Exists
        /// </summary>
        public const int ObjectAlreadyExists = unchecked((int)0xa100000aU);

        /// <summary>
        /// User Limit Exceeded 
        /// </summary>
        public const int UserLimitExceeded = unchecked((int)0xe102004fU);

        /// <summary>
        /// Search Index Available
        /// </summary>
        public const int SearchIndexNotAvailable = unchecked((int) 0xe1020050U);

        /// <summary>
        /// General Failure
        /// </summary>
        public const int GeneralFailure = unchecked((int)0xe1007fffU);

        /// <summary>
        /// File Already Exists
        /// </summary>
        public const int FileAlreadyExists = unchecked((int)0xa1000003U);

        /// <summary>
        ///  Folder Already Exists
        /// </summary>
        public const int FolderAlreadyExists = unchecked((int)0xa1000004U);

    }
}
